home *** CD-ROM | disk | FTP | other *** search
/ Hobby PC 11 / Hobby PC 11.iso / lotuspro / compnent / lsstr.lss < prev    next >
Text File  |  1998-01-13  |  41KB  |  614 lines

  1. ' lsstr.lss    Copyright (c) 1994 Lotus Development Corporation
  2.  
  3.  
  4. '    Compile Time Errors
  5.  
  6. Public Const STR_SIMPLESYNTAX              = "Unexpected: %s"
  7. Public Const STR_BINCHAR                   = "[%d]"
  8. Public Const STR_EOF                       = "End-of-file"
  9. Public Const STR_PARSESTACKOVERFLOW        = "Compiler stack overflow at: %s"
  10. Public Const STR_ILLEVENTNM                = "Not an event name: %s"
  11. Public Const STR_PREVDECL                  = "Name previously declared: %s"
  12. Public Const STR_ILLSUFF                   = "Illegal type suffix on name: %s"
  13. Public Const STR_SUFFTYPE                  = "Declaration may not contain type suffix and data type: %s"
  14. Public Const STR_SUFFMISMATCH              = "Type suffix does not match data type: %s"
  15. Public Const STR_UNDEFNAME                 = "Class or type name not found: %s"
  16. Public Const STR_NAMETOOLONG               = "Name too long: %s"
  17. Public Const STR_ILLRANGE                  = "Illegal range specifier"
  18. Public Const STR_DUPRANGE                  = "Duplicate range specifier"
  19. Public Const STR_NOARRBDS                  = "Illegal specification of array bounds for: %s"
  20. Public Const STR_NUMERR                    = "Illegal numeric constant"
  21. Public Const STR_OVERFLOW                  = "Numeric overflow"
  22. Public Const STR_UNDERFLOW                 = "Numeric underflow"
  23. Public Const STR_PROPTYPE                  = "PROPERTY GET and SET must have same data type"
  24. Public Const STR_BADLEN                    = "Illegal string length constant for: %s"
  25. Public Const STR_ILLCONSTEXPR              = "Illegal constant expression for: %s"
  26. Public Const STR_ILLARRBDS                 = "Illegal array bound for: %s"
  27. Public Const STR_DUPOPT                    = "Duplicate option"
  28. Public Const STR_ILLSTATIC                 = "Illegal STATIC on: %s"
  29. Public Const STR_ILLBASEOPT                = "Illegal value for OPTION BASE"
  30. Public Const STR_NODECL                    = "Variable not declared: %s"
  31. Public Const STR_ILLREF                    = "Illegal parenthesized reference: %s"
  32. Public Const STR_ADTSUBCLS                 = "Cannot subclass: %s"
  33. Public Const STR_TOOMANYDIMS               = "Maximum array dimensions (8) exceeded: %s"
  34. Public Const STR_WRONGNDIMS                = "Wrong number of array subscripts for: %s"
  35. Public Const STR_ILLLISTREF                = "Reference must contain exactly one subscript: %s"
  36. Public Const STR_SPROGPAR                  = "Illegal use of parentheses"
  37. Public Const STR_INVBYVAL                  = "Illegal BYVAL"
  38. Public Const STR_ILLLVALUE                 = "Variable required: %s"
  39. Public Const STR_ILLRVALUE                 = "Illegal reference to: %s"
  40. Public Const STR_ILLSUBCALL                = "Not a sub or function name: %s"
  41. Public Const STR_PRIVDERV                  = "Derived class may not be PUBLIC when parent is PRIVATE: %s"
  42. Public Const STR_ARGSONSUB                 = "Arguments not legal in declaration of: %s"
  43. Public Const STR_ILLSCOPE                  = "Illegal scope for PUBLIC or PRIVATE on: %s"
  44. Public Const STR_ILLINSTNAME               = "Not an instance name: %s"
  45. Public Const STR_ILLMEMNAME                = "Not a member: %s"
  46. Public Const STR_BADNUMARGS                = "Wrong number of arguments for: %s"
  47. Public Const STR_BADBYVAL                  = "Illegal BYVAL on arguments to: %s"
  48. Public Const STR_MISMATCH                  = "Type mismatch on: %s"
  49. Public Const STR_MISSINGARG                = "Missing argument for: %s"
  50. Public Const STR_NOTBYVAL                  = "Illegal pass by value: %s"
  51. Public Const STR_UNTERMREM                 = "Unterminated %REM block"
  52. Public Const STR_UNTERMSTR                 = "Unterminated multiline string"
  53. Public Const STR_DUPLABEL                  = "Duplicate label: %s"
  54. Public Const STR_LISTTAGARG                = "LISTTAG argument is not a FORALL alias variable"
  55. Public Const STR_MISLABEL                  = "Undefined label: %s"
  56. Public Const STR_ITERINUSE                 = "FOR count variable already in use: %s"
  57. Public Const STR_MISITER                   = "Name does not match FOR count variable: %s"
  58. Public Const STR_CONSTUSE                  = "Illegal reference to named constant: %s"
  59. Public Const STR_ILLTORANGE                = "Illegal TO in reference to: %s"
  60. Public Const STR_ILLSINGLEIF               = "Illegal single-line IF"
  61. Public Const STR_ILLMODSTMT                = "Statement is illegal outside of a subprogram"
  62. Public Const STR_ILLONERR                  = "Illegal ON ERROR statement"
  63. Public Const STR_ILLNEW                    = "Illegal use of NEW or DELETE"
  64. Public Const STR_OUTOFMEMORY               = "Out of memory"
  65. Public Const STR_ILLEXIT                   = "Illegal EXIT %s"
  66. Public Const STR_CONSTREQ                  = "Error number must be INTEGER constant: %s"
  67. Public Const STR_INTREQ                    = "Error number must be INTEGER"
  68. Public Const STR_REDIMDIM                  = "Bounds must be specified in REDIM of: %s"
  69. Public Const STR_ILLMODLABEL               = "Label is illegal outside of a subprogram"
  70. Public Const STR_BADINCFIL                 = "Cannot open included file: %s"
  71. Public Const STR_FUNCATTR                  = "Storage class or visibility does not match forward declaration: %s"
  72. Public Const STR_FUNCRET                   = "Return type does not match forward declaration: %s"
  73. Public Const STR_FUNCARG                   = "Argument does not match forward declaration: %s"
  74. Public Const STR_FUNCNUMARGS               = "Number of arguments does not match forward declaration: %s"
  75. Public Const STR_BADNEW                    = "Illegal use of NEW on array or list declaration: %s"
  76. Public Const STR_ILLTYDCL                  = "Declaration not valid in TYPE scope: %s"
  77. Public Const STR_EOL                       = "End-of-line"
  78. Public Const STR_DATAOVFL                  = "Size of data cannot exceed 64K in this scope"
  79. Public Const STR_ILLRESERR                 = "Illegal RESUME statement"
  80. Public Const STR_ILLCARG                   = "Illegal external argument: %s"
  81. Public Const STR_ILLPRODINST               = "Named product class instance not valid here"
  82. Public Const STR_ILLFUNCRET                = "Illegal function return type for: %s"
  83. Public Const STR_ILLARG                    = "Illegal data type for argument: %s"
  84. Public Const STR_ILLANY                    = "Illegal ANY: %s"
  85. Public Const STR_TOOMANYARGS               = "Too many arguments for: %s"
  86. Public Const STR_ILLITEROBJ                = "Not an array, list, collection or variant: %s"
  87. Public Const STR_ILLREDIM                  = "Illegal REDIM on: %s"
  88. Public Const STR_ILLBIND                   = "Not a product class: %s"
  89. Public Const STR_NEWTYPE                   = "Illegal construction of type instance: %s"
  90. Public Const STR_ILLPCONST                 = "Illegal product constant: %s"
  91. Public Const STR_ILLPROPTYPE               = "Illegal property type for: %s"
  92. Public Const STR_ILLERASEARG               = "Illegal use of ERASE"
  93. Public Const STR_ILLADTINST                = "Not a product class instance: %s"
  94. Public Const STR_ARRTOOBIG                 = "Array size exceeds maximum: %s"
  95. Public Const STR_PREVDCLMEM                = "Member declared in a parent class: %s"
  96. Public Const STR_SIGMATCH                  = "Method signature does not match parent method: %s"
  97. Public Const STR_PREVDCLMETH               = "Method was declared as something else in a parent: %s"
  98. Public Const STR_PREVDCLPROP               = "Property was declared as something else in a parent: %s"
  99. Public Const STR_PROPMATCH                 = "Property type does not match parent property: %s"
  100. Public Const STR_ILLPRIV                   = "Illegal PRIVATE declaration of: %s"
  101. Public Const STR_ILLPUB                    = "Illegal PUBLIC declaration of: %s"
  102. Public Const STR_UNDEFSETP                 = "PROPERTY SET not defined for: %s"
  103. Public Const STR_UNDEFGETP                 = "PROPERTY GET not defined for: %s"
  104. Public Const STR_TYPENODATA                = "TYPE declaration has no members"
  105. Public Const STR_SUBEXPR                   = "%s"
  106. Public Const STR_ARRDECLED                 = "Illegal OPTION BASE after array declaration"
  107. Public Const STR_INVALIDME                 = "ME not valid outside of class scope"
  108. Public Const STR_INVALIDDD                 = ".. not valid outside of class scope"
  109. Public Const STR_ILLFWD                    = "Name was forward declared as something else: %s"
  110. Public Const STR_ITERSUFF                  = "Illegal type suffix on FORALL alias variable: %s"
  111. Public Const STR_ITERDECL                  = "FORALL alias variable is not of same data type: %s"
  112. Public Const STR_ILLITER                   = "Illegal reference to FORALL alias variable: %s"
  113. Public Const STR_ILLSET                    = "SET may only be used on class instance assignments"
  114. Public Const STR_NEEDSET                   = "SET required on class instance assignment"
  115. Public Const STR_TYRECURS                  = "TYPE may not have instance of itself as a member: %s"
  116. Public Const STR_UNTERMBLK                 = "Unterminated %s block"
  117. Public Const STR_EXPECTED                  = "Expected: "
  118. Public Const STR_STATEMENT                 = "Statement"
  119. Public Const STR_EXPRESSION                = "Expression"
  120. Public Const STR_VARIABLE                  = "Identifier"
  121. Public Const STR_OPERATOR                  = "Operator"
  122. Public Const STR_EOS                       = "End-of-statement"
  123. Public Const STR_DATATYPE                  = "Data type"
  124. Public Const STR_STRCONST                  = "String constant"
  125. Public Const STR_LABEL                     = "Label"
  126. Public Const STR_ZERO                      = "0"
  127. Public Const STR_ONE                       = "1"
  128. Public Const STR_ILLPRIVREF                = "Not a PUBLIC member: %s"
  129. Public Const STR_MAXERRS                   = "Maximum number of errors reached"
  130. Public Const STR_ILLCONTINUE               = "Illegal character after continuation character"
  131. Public Const STR_DUPPUBLIC                 = "Public symbol is declared in another module: %s"
  132. Public Const STR_ILLDEFTYPE                = "Illegal DEFtype statement after declaration"
  133. Public Const STR_UNKNOWNSTMT               = "Unknown statement"
  134. Public Const STR_MODSTMT                   = "Statement is illegal in a subprogram"
  135. Public Const STR_STRINCFIL                 = "INCLUDE filename must be a string literal"
  136. Public Const STR_PRIVMEM                   = "Member of PUBLIC class or type is instance of a PRIVATE class or type: %s"
  137. Public Const STR_BADNUMCARGS               = "Wrong number of arguments to constructor for class: %s"
  138. Public Const STR_ACTNOTBYVAL               = "Illegal pass by value"
  139. Public Const STR_ILLARRUSE                 = "Illegal reference to array or list: %s"
  140. Public Const STR_SUFFKEYWORD               = "Illegal type suffix on keyword: %s"
  141. Public Const STR_BINDNOCLASS               = "Class not specified on BIND into: %s"
  142. Public Const STR_STMTSTACKOVERFLOW         = "Compiler statement stack overflow at: %s"
  143. Public Const STR_ILLCALL                   = "Illegal call to: %s"
  144. Public Const STR_ILLDELETE                 = "DELETE not valid on: %s"
  145. Public Const STR_IOMANY                    = "Too many items specified in input/output statement"
  146. Public Const STR_GOTOMANY                  = "Too many labels specified in ON..GOTO statement"
  147. Public Const STR_ITERINUSEFA               = "FORALL alias variable already in use: %s"
  148. Public Const STR_ILLDDREF                  = "Class is not a parent of this class: %s"
  149. Public Const STR_ILLDDMEMBER               = "Member is not a subprogram: %s"
  150. Public Const STR_ILLOPTPUB                 = "Illegal OPTION PUBLIC after declaration"
  151. Public Const STR_MODEXEC                   = "Illegal executable code at the module level"
  152. Public Const STR_PUBINST                   = "Illegal PUBLIC instance of PRIVATE class or type: %s"
  153. Public Const STR_ISELEMARG                 = "ISELEMENT argument is not a list or variant: %s"
  154. Public Const STR_ILLCONSTR                 = "Illegal constructor clause on: %s"
  155. Public Const STR_NONEW                     = "Parent SUB NEW has arguments, SUB NEW is required for: %s"
  156. Public Const STR_ILLUSE                    = "Illegal USE or USELSX statement after declaration"
  157. Public Const STR_ILLHANDLER                = "Event handler must be a LotusScript SUB or FUNCTION: %s"
  158. Public Const STR_ITERPREVDECL              = "FORALL alias variable was previously declared: %s"
  159. Public Const STR_ILLOPTEXP                 = "Illegal OPTION DECLARE after implicit declaration"
  160. Public Const STR_ILLITERELEM               = "Illegal use of array or list element as FORALL target"
  161. Public Const STR_EVENTARG                  = "Wrong data type for argument %s in event handler %s"
  162. Public Const STR_EVENTRETV                 = "Wrong return type in event handler %s"
  163. Public Const STR_EVENTFUNC                 = "Event handler must be a FUNCTION"
  164. Public Const STR_EVENTSUB                  = "Event handler must be a SUB"
  165. Public Const STR_MAXINCLUDE                = "Too many nested INCLUDEs"
  166. Public Const STR_NONEWMATCH                = "SUB NEW arguments do not match parent's SUB NEW arguments"
  167. Public Const STR_PROPVIS                   = "PROPERTY GET and SET must have same storage class and visibility"
  168. Public Const STR_ILLTYSTMT                 = "Statement is illegal in TYPE block: %s"
  169. Public Const STR_ILLCLSTMT                 = "Statement is illegal in CLASS block: %s"
  170. Public Const STR_ILLOBJ                    = "Illegal name for class or type: %s"
  171. Public Const STR_DIMREQ                    = "DIM required on declarations in this scope"
  172. Public Const STR_MAXTOKEN                  = "Token is too long"
  173. Public Const STR_NOPUBLIC                  = "PUBLIC is not allowed in this module"
  174. Public Const STR_DUPFORWARD                = "Duplicate forward declaration: %s"
  175. Public Const STR_FORSCALAR                 = "FOR count variable must be a scalar variable: %s"
  176. Public Const STR_EXPARG                    = "Expected expression before end of argument list for: %s"
  177. Public Const STR_INVPROP                   = "Illegal use of property: %s"
  178. Public Const STR_TOOMANYLINES              = "File contains too many source lines"
  179. Public Const STR_ILLCLCDECL                = "Declaration of external subprogram is not legal inside a class"
  180. Public Const STR_MAXCODESIZE               = "Maximum allowable code size exceeded"
  181. Public Const STR_MAXHEAPSIZE               = "Maximum allowable data size exceeded"
  182. Public Const STR_MAXSYMBSIZE               = "Maximum allowable symbol table size exceeded"
  183. Public Const STR_CONSTANT                  = "Constant"
  184. Public Const STR_UNTERMSCONST              = "Unterminated string constant"
  185. Public Const STR_ILLINCLUDE                = "Illegal character after %INCLUDE directive"
  186. Public Const STR_NUMCONST                  = "Numeric constant"
  187. Public Const STR_DATASUBOVFL               = "Size of data cannot exceed 32K in this scope"
  188. Public Const STR_UNTERMSQB                 = "Unterminated square bracket reference"
  189. Public Const STR_RELOP                     = "Relational operator"
  190. Public Const STR_CASEELSE                  = "CASE ELSE must be the last CASE in a SELECT statement"
  191. Public Const STR_BADDIR                    = "Illegal directive"
  192. Public Const STR_UNTERMIF                  = "Unterminated %IF, %ELSEIF or %ELSE directive"
  193. Public Const STR_TOKENAFTDIR               = "Illegal character after directive"
  194. Public Const STR_ILLLIBNAME                = "LIB name must be a string constant"
  195. Public Const STR_ILLUSECONST               = "USE or USELSX name must be a string constant"
  196. Public Const STR_ILLEVALCONST              = "EVALUATE argument must be a string constant"
  197. Public Const STR_ILLINDEX                  = "Illegal second parenthesized expression"
  198. Public Const STR_ILLSTRINGDECL             = "Illegal use of UNICODE or LMBCS keyword"
  199. Public Const STR_ILLUNILMBCS               = "UNICODE and LBMCS strings must be declared BYVAL"
  200. Public Const STR_ILLVARPARENS              = "Empty parentheses not legal on: %s"
  201. Public Const STR_TOOMANYWITHS              = "Too many nested WITHs"
  202. Public Const STR_ILLESCAPEID               = "Illegal use of escape character in identifier: %s"
  203. Public Const STR_ILLESCAPE                 = "Illegal use of escape character"
  204. Public Const STR_ILLMACRO                  = "Error in EVALUATE macro"
  205. Public Const STR_PREVREF                   = "Name previously referenced in this scope: %s"
  206. Public Const STR_BADNUMEVARGS              = "Wrong number of arguments for event handler: %s"
  207. Public Const STR_ROPROP                    = "Property is read-only: %s"
  208. Public Const STR_MISSINGSUBSCRIPT          = "Missing subscript or collection index for: %s"
  209. Public Const STR_MISSINGCARG               = "Missing argument to constructor for: %s"
  210. Public Const STR_MISSINGBD                 = "Missing array bound for: %s"
  211. Public Const STR_UNSCLIARR                 = "Client variables holding arrays is not yet supported: %s"
  212. Public Const STR_VARREQ                    = "LEN argument must be a variable or a string expression"
  213. Public Const STR_MISSINGCOLLIDX            = "Missing collection index for: %s"
  214. Public Const STR_ISELEMNOBD                = "Missing list subscript for ISELEMENT argument: %s"
  215. Public Const STR_SETIDXCOLL                = "Cannot assign into collection item"
  216. Public Const STR_CLTYPFWD                  = "Cannot forward declare CLASS or TYPE"
  217. Public Const STR_CLDECLMOD                 = "CLASS or TYPE declaration may not be inside a control block"
  218. Public Const STR_SUBDECLMOD                = "Procedure declaration may not be inside a control block"
  219. Public Const STR_COLLITEMINST              = "Collection item is not an instance: %s"
  220. Public Const STR_NOPRODNEW                 = "Product class does not have a New method: %s"
  221. Public Const STR_USELISTMOD                = "Error processing use list module: %s"
  222. Public Const STR_ILLDECLSCOPE              = "Illegal on declarations in this scope: %s"
  223. Public Const STR_CONOPT                    = "Conflicting option"
  224. Public Const STR_PROPARGS                  = "PROPERTY GET and SET arguments do not match: %s"
  225. Public Const STR_PROPNUMARGS               = "Number of arguments do not match for PROPERTY GET and SET: %s"
  226. Public Const STR_PROPSIGMATCH              = "Property signature does not match parent property: %s"
  227. Public Const STR_TYPESUFFIX                = "Type suffix character required on: %s"
  228. Public Const STR_NOTASUB                   = "Must be a sub: %s"
  229. Public Const STR_REFBEFOREDECL             = "Reference appears before declaration: %s"
  230. Public Const STR_NOTACONST                 = "Not a constant: %s"
  231. Public Const STR_SELFDERV                  = "Class is a parent of itself: %s"
  232. Public Const STR_SHARESUBEXPR              = "First parameter must be a simple variable, list, or array"
  233. Public Const STR_CODETOOBIG                = "Code space too big.  Module cannot compile unless smaller"
  234. Public Const STR_BRANCHTOOBIG              = "Branch range too long"
  235. Public Const STR_MAXLABELS                 = "Maximum number of labels exceeded"
  236.  
  237. '    Client Errors
  238.  
  239. Public Const STR_ERR_ALREADYSPEC               = "Number of locks or amount of memory already specified once in this process."
  240. Public Const STR_ERR_OPENFIRST                 = "Must call LSIOpen before calling this API routine."
  241. Public Const STR_ERR_LSOINCOMPAT               = " LSO generated by V4 is not compatible with this version of LotusScript V4"
  242. Public Const STR_ERR_NOTUNLOCKED               = "Lock count decremented but not zero, so lock was not unlocked."
  243.  
  244. '    Run Time LOI Errors
  245.  
  246.  
  247. '    The following adjust MAC Resource Grouping
  248.  
  249. Public Const STR_ERRLOI_ArgOutofRange             = "Argument out of range"
  250. Public Const STR_ERRLOI_BadPropertyName           = "Property does not exist"
  251. Public Const STR_ERRLOI_BadMethodName             = "Method does not exist"
  252. Public Const STR_ERRLOI_InvalidObject             = "Invalid object reference"
  253. Public Const STR_ERRLOI_TypeMismatch              = "Argument type mismatch"
  254. Public Const STR_ERRLOI_InvalidArgument           = "Invalid argument value"
  255. Public Const STR_ERRLOI_PrintFailed               = "Print operation failed"
  256. Public Const STR_ERRLOI_CouldNotLaunch            = "Could not launch application"
  257. Public Const STR_ERRLOI_BadCoordinates            = "Invalid window coordinates"
  258. Public Const STR_ERRLOI_FileNotCreated            = "Cannot create file"
  259. Public Const STR_ERRLOI_CouldNotSave              = "Could not save file"
  260. Public Const STR_ERRLOI_BadExecutable             = "Executable image of wrong format"
  261. Public Const STR_ERRLOI_ClipboardEmpty            = "Clipboard contains nothing to paste"
  262. Public Const STR_ERRLOI_DocumentReadOnly          = "Document is read only"
  263. Public Const STR_ERRLOI_BadClipboardFormat        = "Unknown clipboard format"
  264. Public Const STR_ERRLOI_InvocationError           = "Error raised during method invocation"
  265. Public Const STR_ERRLOI_UnknownUnit               = "Unknown unit of measure"
  266. Public Const STR_ERRLOI_InvalidPropertyValue      = "Invalid property value"
  267.  
  268. '    The following adjust MAC Resource Grouping
  269.  
  270.  
  271. '    Run Time Errors
  272.  
  273. Public Const STR_RTE_USER                      = "User-defined error"
  274. Public Const STR_RTE_ReturnWithoutGoSub        = "RETURN without GOSUB"
  275. Public Const STR_RTE_IllegalFunctionCall       = "Illegal function call"
  276. Public Const STR_RTE_Overflow                  = "Overflow"
  277. Public Const STR_RTE_OutOfMemory               = "Out of memory"
  278. Public Const STR_RTE_SubscriptOutOfRange       = "Subscript out of range"
  279. Public Const STR_RTE_DivisionByZero            = "Division by zero"
  280. Public Const STR_RTE_TypeMismatch              = "Type mismatch"
  281. Public Const STR_RTE_OutOfStringSpace          = "Out of string space"
  282. Public Const STR_RTE_NoResume                  = "No RESUME"
  283. Public Const STR_RTE_ResumeWithoutError        = "RESUME without error"
  284. Public Const STR_RTE_OutOfStackSpace           = "Out of stack space"
  285. Public Const STR_RTE_SubOrFunctionNotDefined   = "Sub, function or property not defined"
  286. Public Const STR_RTE_ErrorInLoadingDLL         = "Error in loading DLL"
  287. Public Const STR_RTE_BadDLLCallingConvention   = "Bad DLL calling convention"
  288. Public Const STR_RTE_InternalError             = "Internal error[%ld-%ld]"
  289. Public Const STR_RTE_BadFileNameOrNumber       = "Bad file name or number"
  290. Public Const STR_RTE_FileNotFound              = "File not found"
  291. Public Const STR_RTE_BadFileMode               = "Bad file mode"
  292. Public Const STR_RTE_FileAlreadyOpen           = "File already open"
  293. Public Const STR_RTE_DeviceIOError             = "Device I/O error"
  294. Public Const STR_RTE_FileAlreadyExists         = "File already exists"
  295. Public Const STR_RTE_BadRecordLength           = "Bad record length"
  296. Public Const STR_RTE_DiskFull                  = "Disk full"
  297. Public Const STR_RTE_InputPastEndOfFile        = "Input past end of file"
  298. Public Const STR_RTE_BadRecordNumber           = "Bad record number"
  299. Public Const STR_RTE_BadFileName               = "Bad file name"
  300. Public Const STR_RTE_TooManyFiles              = "Too many files"
  301. Public Const STR_RTE_DeviceUnavailable         = "Device unavailable"
  302. Public Const STR_RTE_PermissionDenied          = "Permission denied"
  303. Public Const STR_RTE_DiskNotReady              = "Disk not ready"
  304. Public Const STR_RTE_CantRenameWithDifferent   = "Cannot rename with different drive"
  305. Public Const STR_RTE_PathFileAccessError       = "Path/file access error"
  306. Public Const STR_RTE_PathNotFound              = "Path not found"
  307. Public Const STR_RTE_ObjectVariableNotSet      = "Object variable not set"
  308. Public Const STR_RTE_ForLoopNotInitialized     = "FOR loop not initialized"
  309. Public Const STR_RTE_InvalidPatternString      = "Invalid pattern string"
  310. Public Const STR_RTE_InvalidUseOfNull          = "Invalid use of null"
  311. Public Const STR_RTE_CannotDestroyActiveInst   = "Cannot destroy active instance"
  312. Public Const STR_RTE_FileNotWritable           = "File not writable"
  313. Public Const STR_RTE_FileNotReadable           = "File not readable"
  314. Public Const STR_RTE_BadFileNumber             = "Illegal file number"
  315. Public Const STR_RTE_FileNotOpen               = "File not open"
  316. Public Const STR_RTE_ConflictingFileModes      = "Conflicting modes supplied"
  317. Public Const STR_RTE_OpenFailed                = "Unable to open file"
  318. Public Const STR_RTE_IllegalOperation          = "Illegal operation for file mode"
  319. Public Const STR_RTE_DataTooBig                = "Data too big for record"
  320. Public Const STR_RTE_BadAttribute              = "Bad attribute"
  321. Public Const STR_RTE_CouldNotSetAttribute      = "Cannot set attribute for file"
  322. Public Const STR_RTE_ListItemDoesNotExist      = "List item does not exist"
  323. Public Const STR_RTE_LinkNoModule              = "Cannot find module: %s"
  324. Public Const STR_RTE_LinkNoSymbol              = "Cannot find external name: %s"
  325. Public Const STR_RTE_LinkBadSymbol             = "Type mismatch on external name: %s"
  326. Public Const STR_RTE_Module_Exist              = "Module already loaded"
  327. Public Const STR_RTE_Module_Not_Exist          = "Module not found"
  328. Public Const STR_RTE_Module_Bad                = "Invalid module file"
  329. Public Const STR_RTE_Compile                   = "Compiler error"
  330. Public Const STR_RTE_AdtCtrlFuncNotPresent     = "ADT error: Control procedure missing"
  331. Public Const STR_RTE_AdtNamedObjectNonExist    = "Named product object does not exist"
  332. Public Const STR_RTE_AdtUnknownClass           = "Unknown class of product object returned"
  333. Public Const STR_RTE_AdtHandleChanged          = "ADT error: Object handle changed"
  334. Public Const STR_RTE_CCallBadArg               = "Bad argument to external function"
  335. Public Const STR_RTE_CCallUnsupportedArgType   = "Unsupported argument type to external function"
  336. Public Const STR_RTE_CCallUnsupportedRetType   = "Unsupported return type for external function"
  337. Public Const STR_RTE_CCallSubUnavail           = "External function not found"
  338. Public Const STR_RTE_EventNotHooked            = "Event handler not attached"
  339. Public Const STR_RTE_ModuleInUse               = "Module in use"
  340. Public Const STR_RTE_ModuleOverRun             = "Too many calls into module"
  341. Public Const STR_RTE_NotAListTag               = "LISTTAG argument not a list element"
  342. Public Const STR_RTE_RedimFixedArray           = "Illegal REDIM of fixed array"
  343. Public Const STR_RTE_ArraySizeTooBig           = "Array size exceeds maximum limit"
  344. Public Const STR_RTE_IllegalLikePattern        = "Illegal LIKE pattern"
  345. Public Const STR_RTE_ArgOutOfRange             = "Argument out of range"
  346. Public Const STR_RTE_CircularUse               = "Illegal circular USE: %s"
  347. Public Const STR_RTE_DuplicatePublic           = "Duplicate PUBLIC name %s in USE module %s"
  348. Public Const STR_RTE_ExprRange                 = "Expression out of range"
  349. Public Const STR_RTE_InvalidPowerOprand        = "Invalid ^ operator operands"
  350. Public Const STR_RTE_LinkNoUseModule           = "Error loading USE or USELSX module: %s"
  351.  
  352. '    Last Of V2 Error Messages ; V3 Error Mesages Start
  353.  
  354. Public Const STR_RTE_Underflow                 = "Underflow"
  355. Public Const STR_RTE_NoPlatSupport             = "Operation not supported on this platform"
  356. Public Const STR_RTE_SuffixTypeMismatch        = "Type suffix does not match actual data type"
  357. Public Const STR_RTE_NamedMemberNonExist       = "Instance member %s does not exist"
  358. Public Const STR_RTE_NotAnObject               = "Variant does not contain an object"
  359. Public Const STR_RTE_NotAContainer             = "Variant does not contain a container"
  360. Public Const STR_RTE_WrongNumberOfArgs         = "Wrong number of arguments for method"
  361. Public Const STR_RTE_NotAMethod                = "Name used as a method is not a method"
  362. Public Const STR_RTE_IllegalUseOfSub           = "Illegal use of SUB"
  363. Public Const STR_RTE_IllegalUseOfFunction      = "Illegal use of FUNCTION"
  364. Public Const STR_RTE_IllegalUseOfProp          = "Illegal use of PROPERTY"
  365. Public Const STR_RTE_ReadOnlyProp              = "Illegal use of read-only PROPERTY"
  366. Public Const STR_RTE_InvalidListIndex          = "List reference must contain exactly one subscript"
  367. Public Const STR_RTE_InvalidIsElemArg          = "ISELEMENT argument is not a list"
  368. Public Const STR_RTE_IllegalDelete             = "Illegal DELETE"
  369. Public Const STR_RTE_NotAProductObject         = "Not a product object"
  370. Public Const STR_RTE_NamedEventNonExist        = "Event does not exist"
  371. Public Const STR_RTE_EventHandlerArgType       = "Event handler argument type mismatch"
  372. Public Const STR_RTE_EventHandlerArgCnt        = "Event handler argument count mismatch"
  373. Public Const STR_RTE_NotaPublicMember          = "Not a PUBLIC Member"
  374. Public Const STR_RTE_MissingArgument           = "Missing argument"
  375. Public Const STR_RTE_UninitDynArray            = "Attempt to access uninitialized dynamic array"
  376. Public Const STR_RTE_Disallowed                = "Operation is disallowed in this session"
  377. Public Const STR_RTE_NeedSetAssign             = "SET required on class instance assignment"
  378. Public Const STR_RTE_CollectItemError          = "Invalid collection item"
  379. Public Const STR_RTE_CollectionIndex           = "Wrong number of collection indices"
  380. Public Const STR_RTE_NotACollection            = "Not a collection object"
  381. Public Const STR_RTE_CollectionItemNotFound    = "Collection item not found"
  382. Public Const STR_RTE_OLEError                  = "Automation object error"
  383. Public Const STR_RTE_OLECantCreate             = "Cannot create automation object"
  384. Public Const STR_RTE_OLEFileName               = "Automation object file name error"
  385. Public Const STR_RTE_OLEMemberNotFound         = "Automation object member not found"
  386. Public Const STR_RTE_OLEArgumentCount          = "Wrong number of arguments for automation object"
  387. Public Const STR_RTE_OLEArgumentType           = "Automation object argument type mismatch"
  388. Public Const STR_RTE_OLEException              = "%s: %s"
  389. Public Const STR_RTE_ForallSource              = "Forall container invalid or modified"
  390. Public Const STR_RTE_OutOfSysStack             = "Out of system stack space"
  391. Public Const STR_RTE_IllegalRedim              = "Illegal REDIM"
  392. Public Const STR_RTE_AdtCreateError            = "Error creating product object"
  393. Public Const STR_RTE_AdtPropertyError          = "Error accessing product object property"
  394. Public Const STR_RTE_AdtMethodError            = "Error accessing product object method"
  395. Public Const STR_RTE_AdtError                  = "Error accessing product object"
  396. Public Const STR_RTE_EvaluateError             = "Error in EVALUATE macro"
  397. Public Const STR_RTE_EventHandlerRetType       = "Event handler return type mismatch"
  398. Public Const STR_RTE_EventHandlerProcType      = "Event handler procedure type mismatch"
  399. Public Const STR_RTE_WrongNumberOfArgsProp     = "Wrong number of arguments for PROPERTY"
  400. Public Const STR_RTE_IllegalUseOfMember        = "Illegal use of MEMBER"
  401. Public Const STR_RTE_PropSetNotDefined         = "PROPERTY SET not defined"
  402. Public Const STR_RTE_PropGetNotDefined         = "PROPERTY GET not defined"
  403. Public Const STR_RTE_StringTooLarge            = "String too large"
  404. Public Const STR_RTE_ReadOnlyVariable          = "Variable is read-only"
  405. Public Const STR_RTE_UnknownClassId            = "Unknown class instance"
  406. Public Const STR_RTE_CollectItemAssign         = "Cannot assign into collection item"
  407. Public Const STR_RTE_WrongNumDims              = "Wrong number of array subscripts"
  408. Public Const STR_RTE_InsSharedMemory           = "Insufficient shared memory"
  409. Public Const STR_RTE_NotShared                 = "Attempted to unshare a variable that wasn't shared"
  410. Public Const STR_RTE_UnknownLock               = "Lock ID used has not been created."
  411. Public Const STR_RTE_Deadlock                  = "Deadlock detected."
  412. Public Const STR_RTE_LockNotOwned              = "Thread attempted to unlock a lock it does not own."
  413. Public Const STR_RTE_SemCountMaxReached        = "Maximum number of semaphores permitted reached."
  414. Public Const STR_RTE_BlockNotFound             = "Internal Error:  Shared memory block not found"
  415. Public Const STR_RTE_BlockInvalid              = "Internal Error:  Shared memory block invalid"
  416. Public Const STR_RTE_NoHandles                 = "No shared memory handles available"
  417. Public Const STR_RTE_StillMapped               = "Shared memory block still mapped"
  418. Public Const STR_RTE_TooManyBlocks             = "Too many shared memory blocks"
  419. Public Const STR_RTE_DuplicateBlock            = "Internal Error:  Duplicate shared memory block discovered"
  420. Public Const STR_RTE_InvalidBlock              = "Internal Error:  Invalid shared memory block"
  421. Public Const STR_RTE_InvalidFree               = "Internal Error:  Invalid shared memory free"
  422. Public Const STR_RTE_NotSameSize               = "Attempted to map shared memory to block that isn't the same size"
  423. Public Const STR_RTE_AlreadyShared             = "Attempted to share variable that is already shared."
  424.  
  425. '    Generic resourced strings
  426.  
  427.  
  428. '    Start of RID numbering
  429.  
  430.  
  431. '    Values for FORMAT intrinsic.  
  432.  
  433.  
  434. '    Translate Yes, No, On, Off, True, False if desired.
  435.  
  436.  
  437. '    May also be translated in Asian languages if desired.
  438.  
  439. Public Const STR_RID_AMUC                      = "AM"
  440. Public Const STR_RID_PMUC                      = "PM"
  441. Public Const STR_RID_AUC                       = "A"
  442. Public Const STR_RID_PUC                       = "P"
  443. Public Const STR_RID_AMLC                      = "am"
  444. Public Const STR_RID_PMLC                      = "pm"
  445. Public Const STR_RID_ALC                       = "a"
  446. Public Const STR_RID_PLC                       = "p"
  447. Public Const STR_RID_YES                       = "Yes"
  448. Public Const STR_RID_NO                        = "No"
  449. Public Const STR_RID_TRUE                      = "True"
  450. Public Const STR_RID_FALSE                     = "False"
  451. Public Const STR_RID_ON                        = "On"
  452. Public Const STR_RID_OFF                       = "Off"
  453. Public Const STR_RID_DECIMAL                   = "."
  454. Public Const STR_RID_THOUSAND                  = ","
  455. Public Const STR_RID_SDATE                     = "/"
  456. Public Const STR_RID_STIME                     = ":"
  457. Public Const STR_RID_TIME12                    = "AM"
  458. Public Const STR_RID_TIME24                    = "PM"
  459. Public Const STR_RID_CURRENCY                  = "$"
  460. Public Const STR_RID_SHORTDATE                 = "M/d/yy"
  461. Public Const STR_RID_LONGDATE                  = "dddd, MMMM dd, yyyy"
  462.  
  463. '    Translate.
  464.  
  465.  
  466. '    DO NOT TRANSLATE for Asian languages (Japan, Korea, Taiwan, PRC)
  467.  
  468. Public Const STR_RID_SUNDAY                    = "Sunday"
  469. Public Const STR_RID_MONDAY                    = "Monday"
  470. Public Const STR_RID_TUESDAY                   = "Tuesday"
  471. Public Const STR_RID_WEDNESDAY                 = "Wednesday"
  472. Public Const STR_RID_THURSDAY                  = "Thursday"
  473. Public Const STR_RID_FRIDAY                    = "Friday"
  474. Public Const STR_RID_SATURDAY                  = "Saturday"
  475. Public Const STR_RID_SUN                       = "Sun"
  476. Public Const STR_RID_MON                       = "Mon"
  477. Public Const STR_RID_TUE                       = "Tue"
  478. Public Const STR_RID_WED                       = "Wed"
  479. Public Const STR_RID_THU                       = "Thu"
  480. Public Const STR_RID_FRI                       = "Fri"
  481. Public Const STR_RID_SAT                       = "Sat"
  482. Public Const STR_RID_JANUARY                   = "January"
  483. Public Const STR_RID_FEBRUARY                  = "February"
  484. Public Const STR_RID_MARCH                     = "March"
  485. Public Const STR_RID_APRIL                     = "April"
  486. Public Const STR_RID_MAYLONG                   = "May"
  487. Public Const STR_RID_JUNE                      = "June"
  488. Public Const STR_RID_JULY                      = "July"
  489. Public Const STR_RID_AUGUST                    = "August"
  490. Public Const STR_RID_SEPTEMBER                 = "September"
  491. Public Const STR_RID_OCTOBER                   = "October"
  492. Public Const STR_RID_NOVEMBER                  = "November"
  493. Public Const STR_RID_DECEMBER                  = "December"
  494. Public Const STR_RID_JAN                       = "Jan"
  495. Public Const STR_RID_FEB                       = "Feb"
  496. Public Const STR_RID_MAR                       = "Mar"
  497. Public Const STR_RID_APR                       = "Apr"
  498. Public Const STR_RID_MAY                       = "May"
  499. Public Const STR_RID_JUN                       = "Jun"
  500. Public Const STR_RID_JUL                       = "Jul"
  501. Public Const STR_RID_AUG                       = "Aug"
  502. Public Const STR_RID_SEP                       = "Sep"
  503. Public Const STR_RID_OCT                       = "Oct"
  504. Public Const STR_RID_NOV                       = "Nov"
  505. Public Const STR_RID_DEC                       = "Dec"
  506.  
  507. '    End of DO NOT TRANSLATE for Asian languages section
  508.  
  509.  
  510. '    Translate only for Asian languages section
  511.  
  512.  
  513. '    None of these constants are put into lsstr.lss, since they
  514.  
  515.  
  516. '    are different on 16-bit, 32-bit.
  517.  
  518.  
  519. '    End of translate only for Asian languages section
  520.  
  521.  
  522. '    Names of SUB Initialize & Terminate (DO NOT TRANSLATE)
  523.  
  524. Public Const STR_RID_INITIALIZE                = "INITIALIZE"
  525. Public Const STR_RID_TERMINATE                 = "TERMINATE"
  526.  
  527. '    File Write values for NULL, TRUE, FALSE, and print value for
  528.  
  529.  
  530. '    for Null (print values for True, False, use the strings
  531.  
  532.  
  533. '    in the format section, above.  May be translated if desired.
  534.  
  535. Public Const STR_RID_NULLVALUE                 = "#NULL#"
  536. Public Const STR_RID_TRUEVALUE                 = "#TRUE#"
  537. Public Const STR_RID_FALSEVALUE                = "#FALSE#"
  538. Public Const STR_RID_NULLPRINTVAL              = "Null"
  539.  
  540. '    Miscellaneous strings (DO NOT TRANSLATE)
  541.  
  542. Public Const STR_RID_MODLINE                   = "%s+%ld: "
  543. Public Const STR_RID_EXECUTE                   = "$EXECUTE$"
  544. Public Const STR_RID_EXECUTEFMT                = "$EXECUTE%d$"
  545. Public Const STR_RID_NM_EMPTY                  = "EMPTY"
  546. Public Const STR_RID_NM_NULL                   = "NULL"
  547. Public Const STR_RID_NM_INTEGER                = "INTEGER"
  548. Public Const STR_RID_NM_LONG                   = "LONG"
  549. Public Const STR_RID_NM_SINGLE                 = "SINGLE"
  550. Public Const STR_RID_NM_DOUBLE                 = "DOUBLE"
  551. Public Const STR_RID_NM_CURRENCY               = "CURRENCY"
  552. Public Const STR_RID_NM_DATE                   = "DATE"
  553. Public Const STR_RID_NM_STRING                 = "STRING"
  554. Public Const STR_RID_NM_OBJECT                 = "OBJECT"
  555. Public Const STR_RID_NM_ERROR                  = "ERROR"
  556. Public Const STR_RID_NM_BOOLEAN                = "BOOLEAN"
  557. Public Const STR_RID_NM_VARIANT                = "VARIANT"
  558. Public Const STR_RID_NM_UNKNOWN                = "UNKNOWN"
  559. Public Const STR_RID_NM_UNISTR                 = "STRING"
  560. Public Const STR_RID_NM_LIST                   = " LIST"
  561. Public Const STR_RID_NM_PAREN                  = "( )"
  562.  
  563. '    For the Inspector, TARRAY is the displayed datatype
  564.  
  565.  
  566. '    for arrays, TLIST for lists. Should be the same as
  567.  
  568.  
  569. '    TYPENAME would print out...ARRAY and LIST are fallbacks.
  570.  
  571. Public Const STR_RID_DBG_TARRAY                = "%s( )"
  572. Public Const STR_RID_DBG_TLIST                 = "%s LIST"
  573. Public Const STR_RID_DBG_ARRAY                 = "ARRAY"
  574. Public Const STR_RID_DBG_LIST                  = "LIST"
  575. Public Const STR_RID_DBG_FSTR                  = "STRING*%d"
  576. Public Const STR_RID_DBG_UNK                   = "UNKNOWN"
  577. Public Const STR_RID_DBG_IUNK                  = "OBJECT"
  578. Public Const STR_RID_DBG_ARRAYIDX              = "[%d]"
  579. Public Const STR_RID_DBG_VOID                  = "VOID"
  580. Public Const STR_RID_DBG_CONST                 = "CONST %s"
  581. Public Const STR_RID_DBG_VTFORMAT              = "[%s]"
  582. Public Const STR_RID_DBG_NULL                  = "Null"
  583. Public Const STR_RID_DBG_TRUE                  = "True"
  584. Public Const STR_RID_DBG_FALSE                 = "False"
  585. Public Const STR_RID_INCLUDE                   = "INCLUDE"
  586. Public Const STR_RID_ENDREM                    = "ENDREM"
  587.  
  588. '    JAPAN ONLY, Japanese era name letter abbrev. (DO NOT TRANSLATE)
  589.  
  590. Public Const STR_RID_ERA1SB                    = "M"
  591. Public Const STR_RID_ERA2SB                    = "T"
  592. Public Const STR_RID_ERA3SB                    = "S"
  593. Public Const STR_RID_ERA4SB                    = "H"
  594.  
  595. '    JAPAN ONLY - era dates. (DO NOT TRANSLATE)
  596.  
  597.  
  598. '    When new era begins, add start date here.
  599.  
  600.  
  601. '    Also update era name and abbreviation tables, above.
  602.  
  603.  
  604. '    Format of date is day.month.year.
  605.  
  606.  
  607. '    Last entry here should always be ERAEND "00"
  608.  
  609. Public Const STR_RID_ERASTART                  = "08.09.1868."
  610. Public Const STR_RID_ERA1END                   = "30.07.1912."
  611. Public Const STR_RID_ERA2END                   = "25.12.1926."
  612. Public Const STR_RID_ERA3END                   = "08.01.1989."
  613. Public Const STR_RID_ERAEND                    = "00"
  614.